﻿using Shop.RemoteModel;
using Shop.RemoteModel.AdvertPlace.Model;
using WeDonekRpc.Client;
using WeDonekRpc.HttpApiGateway.Model;

namespace Shop.StoreGatewayModular.Interface
{
    public interface IAdvertPlaceService
    {
        PagingResult<AdvertPlaceDto> Query ( PagingParam<AdvertPlaceQueryParam> obj );
        AdvertPlaceItem[] GetItems ( AdvertPlaceGetParam query );
        AdvertPlaceConfig GetConfig ( long id );
        long Add ( AdvertPlaceAdd add );
        void Delete ( long id );
        void Enable ( long id );
        AdvertPlace Get ( long id );
        AdvertPlaceDto[] Gets ( AdvertPlaceStatus? status );
        bool Set ( long id, AdvertPlaceSet set );
        void Stop ( long id );
        Dictionary<long, string> GetExampleImg ( string[] placeType );
    }
}